From: Stefan Kangas Date: Sat, 15 Mar 2025 18:36:51 +0000 (+0100) Subject: ; Doc fix for legacy keymap functions X-Git-Tag: archive/raspbian/1%30.2+1-2+rpi1^2~2^2~24^2~199 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=dcf3916e558d974aef6516e5709379fa3c762832;p=emacs.git ; Doc fix for legacy keymap functions * doc/lispref/keymaps.texi (Low-Level Key Binding): Add new alternatives for two more legacy functions. --- diff --git a/doc/lispref/keymaps.texi b/doc/lispref/keymaps.texi index e1f11f9a138..e1814ad21d4 100644 --- a/doc/lispref/keymaps.texi +++ b/doc/lispref/keymaps.texi @@ -1839,6 +1839,8 @@ local keymap, or @code{nil} if it is undefined there. The argument @var{accept-defaults} controls checking for default bindings, as in @code{lookup-key} (above). + +Use @code{keymap-local-lookup} instead of this function. @end defun @defun global-key-binding key &optional accept-defaults @@ -1847,6 +1849,8 @@ current global keymap, or @code{nil} if it is undefined there. The argument @var{accept-defaults} controls checking for default bindings, as in @code{lookup-key} (above). + +Use @code{keymap-global-lookup} instead of this function. @end defun @defun event-convert-list list